package com.dao;

import java.util.List;

import com.po.Person;

public interface PersonDao {
	public int addPerson(Person person);

	public int deletePerson(int id);
	
	public int deletePersonWithDid(int id);

	public int updatePerson(Person person);

	public List<Person> showAllPerson();

	public String showPersonwithDepartment(int did);

	public Person loadPerson(int id);
	
	public Person loadPersonWithname(String name);
	
}
